//
//  BMUtils.h
//  IphoneMapSdkDemo
//
//  Created by huck on 2017/5/30.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <BaiduMapAPI_Map/BMKMapComponent.h>
#import <BaiduMapAPI_Utils/BMKUtilsComponent.h>


@interface BMUtils : NSObject

//根据经纬度获得点  122.00,24.00
+(CLLocationCoordinate2D)getPoint:(NSString *)pointStr;

//是否符合经纬度坐标的格式 @"122.00,24.00"
+(BOOL)canMakePoint:(NSString *)pointStr;

////自定义标注的图片(自定义图片的大头针)
//+ (BMKAnnotationView *)createCustomAnnotationView:(BMKMapView *)mapview image:(NSString *)imageName size:(CGSize)imageFrame;

//打开客户端导航-直接开始驾车导航
+ (void)openNativeNavi:(CLLocationCoordinate2D)startLocation endLocation:(CLLocationCoordinate2D)endLocation endName:(NSString *)endName;

//打开地图 驾车路线检索
+ (void)openMapDrivingRoute:(CLLocationCoordinate2D)startLocation endLocation:(CLLocationCoordinate2D)endLocation endName:(NSString *)endName;

//是否安装了baidumap
+(BOOL)hasinitialMapApp;

////获取当前的位置 CLLocationCoordinate2D
////BNCoordinate_OriginalGPS = 0,/**< 原始的经纬度坐标 */
////原始的经纬度坐标，若使用的是百度地图坐标，可以使用BNTools类进行坐标转化
//+(CLLocationCoordinate2D)getMyLocation;
@end
